<%@page import="helpers.UrlHelper"%>
<%@page import="java.util.TreeMap"%>
<%
String content = (String) request.getAttribute("content");
String tld = (String) request.getAttribute("tld");
String length = (String) request.getAttribute("length");

//Set seo content
String title = "Check Expire";
String description = "Check the expiration date of the domain. Available domain suggestions,expired and expiring domain name, whois lookup.";
String url = UrlHelper.getServerUrl(request) + "/tool/expire";
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp" />
<script type="text/javascript">
<!--
$(document).ready(function () {
	$(".toolResult table.exp").addClass("table table-striped table-bordered");
});
//-->
</script>


			<div class="row-fluid">
            	<!-- tool detail
        		================================================== -->
            	<div class="span8">
                	<h3 class="toolName">Check Expire</h3>
                    <p class="toolDesc">Check the expiration date of the domain. Available domain suggestions,expired and expiring domain name, whois lookup.</p>
                    
                    <!-- form check
        			================================================== -->
                    <form method="get" action="" class="form-inline">
                    	<select name="tld">
							<option selected="" value="all"> All</option>
							<option value="com">com</option>
							<option value="net">net</option>
							<option value="org">org</option>
							<option value="info">info</option>
							<option value="us">us</option>
							<option value="biz">biz</option>
							<option value="tel">tel</option>
						</select>
						<input type="text" name="length" value="<%=length%>"/>
                        <button type="submit" class="btn btn-info">Check</button>                       
                    </form>
                    
                    <!-- result
        			================================================== -->
       				<% if (content != null && !content.isEmpty()) { %>
                    <div class="toolResult">
                    	<h4>Check Domain Expire</h4>
                        <hr />
                    	<%=content %> 
                    </div>
                    <% } %>
                </div>                
                
                <jsp:include page="/elements/right.jsp" />
                
            </div>


<jsp:include page="/layouts/footer.jsp" />

